package entity

import "github.com/jinzhu/gorm"

// 广播
type P2MMsg struct {
	gorm.Model
	SendId  uint   `json:"send_id"`
	Type    int    `json:"type"`
	Content string `json:"content"`
	ReadIds []uint `json:"read_ids" gorm:"type:json"`
}

func (P2MMsg) TableName() string {
	return "p2m_msg"
}
